From: Florian Eckert Date: Wed, 26 Oct 2022 10:04:52 +0000 (+0200) Subject: luci-mod-network: remove uppercase for interface name on overview page X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=5ffaf478424897e856c290b1bc32d6c3221ee04c;p=project%2Fluci.git luci-mod-network: remove uppercase for interface name on overview page In the overview page, the name of the interface is converted to uppercase. However, this is not the name in the configuration. From my point of view, this makes no sense. The name displayed should correspond exactly to the name in the configuration. Signed-off-by: Florian Eckert --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index b88183d51f..416ffb9d17 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1199,7 +1199,7 @@ return view.extend({ 'class': 'ifacebox-head', 'style': firewall.getZoneColorStyle(zone), 'title': zone ? _('Part of zone %q').format(zone.getName()) : _('No zone assigned') - }, E('strong', net.getName().toUpperCase())), + }, E('strong', net.getName())), E('div', { 'class': 'ifacebox-body', 'id': '%s-ifc-devices'.format(section_id),